Skip to content

feat(compute): Check machine availability API#6009

Merged
the-bokya merged 4 commits intofrappe:developfrom
the-bokya:feat-frappe-compute-check-machine-availability
Apr 7, 2026
Merged

feat(compute): Check machine availability API#6009
the-bokya merged 4 commits intofrappe:developfrom
the-bokya:feat-frappe-compute-check-machine-availability

Conversation

@the-bokya
Copy link
Copy Markdown
Contributor

Adds check_machine_availability() for Frappe Compute. Also adds an optional instance_id parameter to it specifically for Frappe Compute.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 31, 2026

Codecov Report

❌ Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 50.81%. Comparing base (e62430f) to head (324114b).
⚠️ Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
press/press/doctype/cluster/cluster.py 28.57% 5 Missing ⚠️
press/frappe_compute_client/client.py 50.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (45.45%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #6009       +/-   ##
============================================
- Coverage    73.04%   50.81%   -22.24%     
============================================
  Files          107      881      +774     
  Lines        17219    73208    +55989     
  Branches       270      270               
============================================
+ Hits         12577    37197    +24620     
- Misses        4619    35988    +31369     
  Partials        23       23               
Flag Coverage Δ
dashboard 73.04% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@the-bokya the-bokya marked this pull request as ready for review April 7, 2026 07:43
@the-bokya the-bokya merged commit ae45e6f into frappe:develop Apr 7, 2026
10 of 14 checks passed
@the-bokya
Copy link
Copy Markdown
Contributor Author

@mergify backport master

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 7, 2026

backport master

✅ Backports have been created

Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants